package org.fast.framework.bean;

import java.util.Map;

/**
 * 控制器方法参数包装
 */
public class Model {

    private Map<String, Object> paramMap;

    public Model(Map<String, Object> paramMap) {
        this.paramMap = paramMap;
    }

    public Object getAttribute(String attributeName) {
        if (paramMap != null)
            return paramMap.get(attributeName);
        else
            return null;
    }
}
